FROM java:8
EXPOSE 10001

VOLUME /tmp
COPY ./target/ubag-iot.jar ubag-iot.jar
ENTRYPOINT ["java","-jar","/ubag-iot.jar", "&"]